"use strict";

export default class State {
    private _owner: any;

    constructor(owner: any) {
        this._owner = owner;
    }

    get owner() {
        return this._owner;
    }

    onEnter(stateData: any = null) {}

    onReEnter(stateData: any = null) {}

    onUpdate() {}

    onLeave() {}

    getStateKey() {
        return State.InvalidState;
    }

    static InvalidState = "Invalid";
}
